package top.yuyufeng.mbuy.exception;

public enum UserExceptionEnum {
    WRONG_PWD("5001", "密码错误"),
    USER_NOT_EXITS("5002", "用户不存在"),
    USER_NOT_LOGIN("5003", "用户未登录");

    private String key;

    private String value;

    UserExceptionEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

}
